package gptma.bo.model.application;

import gptma.bo.model.BaseEntity;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "composantApplication")
@AttributeOverride(name = "id", column = @Column(name = "composantApplicationId"))
public class ApplicationComponent extends BaseEntity {

	private static final long serialVersionUID = 8129429657608032121L;

	@Column(name = "nom")
	private String name;

	@Column(name = "description")
	private String description;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

}
